package com.jz.netthings.appengine.mapper;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.jz.netthings.appengine.baseData.ProviderData;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface ProviderDataMapper extends BaseMapper<ProviderData> {

    /**
     * 获取最大的登记序号
     * @return
     */
    @Select("SELECT MAX(REGISTERIDX) FROM PROVIDERQUEUEDATA")
    Integer getMaxRegisterIdx();

    List<ProviderData> selectListByStatus(@Param("list") List<Integer> list, @Param("condition") String condition, @Param("order") String order);
}
